package com.xxh.dataaccess.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxh.dataaccess.dto.CommentDto;
import com.xxh.dataaccess.entity.Comment;

import java.util.List;

/**
 * (Comment)表数据库访问层
 *
 * @author makejava
 * @since 2021-02-09 17:33:02
 */
public interface CommentDao extends BaseMapper<Comment> {
    List<CommentDto> getCommentDtoByBv(String bv);

    List<CommentDto> getCommentDtoByParentID(Long pid);
}
